﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.Device
{
    public class ModelCommandAgreementParameter
    {
      /// <summary>
      /// 引脚wpi编号
      /// </summary>
        public int wpi { get; set; }
        /// <summary>
        /// 引脚gpio编号
        /// </summary>
        public int gpio { get; set; }
        /// <summary>
        /// 端口
        /// </summary>
        public string portName { get; set; }
        /// <summary>
        /// 波特率
        /// </summary>
        public int baudRate { get; set; }
        /// <summary>
        /// 总线通道
        /// </summary>
        public int busId { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public int address { get; set; }

        /// <summary>
        /// 通道
        /// </summary>
        public int channel { get; set; }
        
        /// <summary>
        /// 说明
        /// </summary>
        public string explain { get; set; }
        
        /// <summary>
        /// 自定义内容
        /// </summary>
        public object objValue { get; set; }
        /// <summary>
        /// 协议指令
        /// </summary>
        public List<ModelCommandAgreementParameterCommand> command { get; set; }
    }
}
